import service from "@/utils/request"

// 查询
export const getList = (parms?:any) => {
    return service.post<any,any>(`/mes/pc/order/prodStatus/getCollectList`,parms)

}

// 删除
export const deleteList = (parms?:any) => {
    return service.post<any,any>(`/mes/pc/order/prodStatus/deleteProdStatusById`,parms) 
}

// 查询员工信息
export const getStaffList = (parms?:any) => {
    return service.get<any,any>(`/mes/pcStitchWorker/getStitchById?workerId=${parms}`) 
}

// 厂商查询
export const getFactoryList = (parms?:any) => {
    return service.get<any,any>(`/mes/vendor/queryAllVendor`)
}